package com.dwjm.shop.order;

import java.util.List;

public interface ShopOrderDao {
    boolean createOrder(ShopOrder order);
    boolean updateOrderState(Long orderId, String newState);
    List<ShopOrder> findOrdersByUserId(Long userId);
    ShopOrder findOrderById(Long orderId);
}
